package com.bupt.kgplatform.entity.apibo;

import com.bupt.kgplatform.entity.KgDatabase;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author ljr
 * @date 2020/11/2 3:03 下午
 */

@Data
public class KGDBBO {
    /**  **/
    private Integer id;

    /**  **/
    private String dbname;

    /**  **/
    private String dbnumber;

    private Integer type;

    /**  **/
    private LocalDateTime createTime;

    /**  **/
    private LocalDateTime updateTime;

    /**  **/
    private String reviser;

    /**  **/
    private String status;

    public KGDBBO(KgDatabase bo) {
        id = bo.getId();
        dbname = bo.getDbname();
        dbnumber = bo.getDbnumber();
        type = bo.getType();
        createTime = bo.getCreateTime();
        updateTime = bo.getUpdateTime();
        reviser = bo.getReviser();
        status = bo.getStatus();
    }
}
